package cn.bandeqing.workerWallet.entity;

import cn.bandeqing.frame.mybatis.config.InsertOrUpdateListener;
import cn.bandeqing.frame.mybatis.entity.BaseEntity;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.Table;

import java.math.BigDecimal;
import java.sql.Timestamp;

import lombok.*;
import lombok.experimental.SuperBuilder;

/**
 * 工作人员钱包 实体类。
 *
 * @author fugui
 * @since 2024-01-15
 */
@EqualsAndHashCode(callSuper = true)
@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@Table(value = "bdq_worker_wallet", onInsert = InsertOrUpdateListener.class, onUpdate = InsertOrUpdateListener.class)
public class WorkerWallet extends BaseEntity {

    @Id
    private Long workerId;

    private String workerNickName;

    private Double workerBalance;

    private Double workerTotalCashMoney;

}
